#!/bin/bash

FILE=/opt/audit.log

cat $FILE |while read LINE

do

Udate=`echo $LINE|awk -F'[(.]+' '{print $2}'`


Cdate=`date -d @$Udate +"%Y-%m-%d %H:%M:%S"`

echo $LINE|sed "s/[0-9]\{10\}/$Cdate/" >> read.audit.log

done


